package com.lsw.jgyf.model;

import java.io.Serializable;
import java.util.List;

/**
 * Created by lsw on 2018/7/19.
 */

public class MoreOptionsModel implements Serializable {


    /**
     * company_name : 到底
     * company_id : 3
     * company_product_id : 49
     * company_product_name : dd
     * periods : 6
     * real_money : 42.84
     * monthly_supply : 8
     * rate : 0.02
     * price : 42.00
     * num : 1
     * first_money : 0
     * insurance_list : [{"id":"2","name":"碎屏险","rate":"2.00"}]
     * is_cooperation : true
     */

    private String company_name;
    private int company_id;
    private int company_product_id;
    private String company_product_name;
    private int periods;
    private double real_money;
    private int monthly_supply;
    private double rate;
    private String price;
    private String num;
    private String first_money;
    private String min_money;
    private boolean is_cooperation;

    public String getMin_money() {
        return min_money;
    }

    public void setMin_money(String min_money) {
        this.min_money = min_money;
    }

    /**
     * id : 2
     * name : 碎屏险
     * rate : 2.00
     */

    private List<InsuranceListEntity> insurance_list;

    public void setCompany_name(String company_name) {
        this.company_name = company_name;
    }

    public void setCompany_id(int company_id) {
        this.company_id = company_id;
    }

    public void setCompany_product_id(int company_product_id) {
        this.company_product_id = company_product_id;
    }

    public void setCompany_product_name(String company_product_name) {
        this.company_product_name = company_product_name;
    }

    public void setPeriods(int periods) {
        this.periods = periods;
    }

    public void setReal_money(double real_money) {
        this.real_money = real_money;
    }

    public void setMonthly_supply(int monthly_supply) {
        this.monthly_supply = monthly_supply;
    }

    public void setRate(double rate) {
        this.rate = rate;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public void setFirst_money(String first_money) {
        this.first_money = first_money;
    }

    public void setIs_cooperation(boolean is_cooperation) {
        this.is_cooperation = is_cooperation;
    }

    public void setInsurance_list(List<InsuranceListEntity> insurance_list) {
        this.insurance_list = insurance_list;
    }

    public String getCompany_name() {
        return company_name;
    }

    public int getCompany_id() {
        return company_id;
    }

    public int getCompany_product_id() {
        return company_product_id;
    }

    public String getCompany_product_name() {
        return company_product_name;
    }

    public int getPeriods() {
        return periods;
    }

    public double getReal_money() {
        return real_money;
    }

    public int getMonthly_supply() {
        return monthly_supply;
    }

    public double getRate() {
        return rate;
    }

    public String getPrice() {
        return price;
    }

    public String getNum() {
        return num;
    }

    public String getFirst_money() {
        return first_money;
    }

    public boolean isIs_cooperation() {
        return is_cooperation;
    }

    public List<InsuranceListEntity> getInsurance_list() {
        return insurance_list;
    }

    public static class InsuranceListEntity implements Serializable {
        private String id;
        private String name;
        private String rate;

        public void setId(String id) {
            this.id = id;
        }

        public void setName(String name) {
            this.name = name;
        }

        public void setRate(String rate) {
            this.rate = rate;
        }

        public String getId() {
            return id;
        }

        public String getName() {
            return name;
        }

        public String getRate() {
            return rate;
        }
    }
}
